package com.lanju.dao;

import java.util.Map;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;

import com.lanju.entity.Seekadvice;

@Repository
public class SeeAdviceDao {
    @PersistenceContext(unitName = "financialmarketingUnit")
    private EntityManager entityManager;
    
    
	public void addSeeAdvice(Seekadvice sa) {
		try {
			entityManager.persist(sa);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
